import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class RegisterOne extends StatefulWidget {
  const RegisterOne({super.key});

  @override
  State<RegisterOne> createState() => _RegisterOneState();
}

class _RegisterOneState extends State<RegisterOne> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('这是注册界面11111'),
      ),
      body: ElevatedButton(
          onPressed: () {
            Navigator.of(context).pushNamed('/two');
          },
          child: const Text('注册1')),
    );
  }
}
